package com.yunji.order.contstant;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.order.contstant
 * @Title: LockCode
 * @Description: 分布式锁前缀
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-04-15 19:53:49      V1.0        HuaAo       新建类
 */
public final class LockCode {
    private LockCode() {
    }

    // 代理账户加锁
    public static final String LOCK_ACCOUNT_AGENT = "lock:account:agent:";
    // 员工账户加锁
    public static final String LOCK_ACCOUNT_STAFF = "lock:account:staff:";
    // 货柜格子加锁
    public static final String LOCK_CELLS = "lock:cells:";
    // 交易加锁
    public static final String LOCK_TRADE = "lock:trade:";
    // 员工绑定枷锁
    public static final String LOCK_BIND = "lock:bind";
}
